package com.zyp.factory;


import com.zyp.dao.UserDao;
import com.zyp.dao.imp.UserDaoImp;

public class UserDaoFactory {
    /**
     * 通过静态工厂方法模式来实现UserDao实现USerDao的对象创建
     * @return
     */
    public static UserDao getUserDao(){
        return new UserDaoImp();
    }
}
